package com.example.vo.Data

import android.content.Context
import android.database.sqlite.SQLiteDatabase
import android.database.sqlite.SQLiteOpenHelper

class DB_History(context: Context, name:String, version:Int) :SQLiteOpenHelper(context,name,null,version){
    private val createHistory = "create table history (" +
            "item text," +
            "result text," +
            "time text)"

    override fun onCreate(db: SQLiteDatabase) {
        db.execSQL(createHistory)
    }

    override fun onUpgrade(db: SQLiteDatabase, oldVersion: Int, newVersion: Int) {
    }
}